package com.chuhe.common.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import org.checkerframework.checker.units.qual.A;

import java.io.Serializable;

/**
 * <p>
 * 会话用户
 * </p>
 *
 * @author 张楚河
 * @since 2025-05-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("chat_session_user")
public class ChatSessionUser implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 用户ID
     */
    private String userId;

    /**
     * 联系人ID
     */
    private String contactId;

    /**
     * 会话ID
     */
    private String sessionId;

    /**
     * 联系人名称
     */
    private String contactName;

    private String lastMessage;

    private Long lastReceiveTime;

    private Integer contactType;

    private Integer memberCount;




}
